<?php
namespace app\index\controller;
use think\Db;
use think\Controller;
use  think\Request;

class Base extends Controller
{
    public function _initialize(){
		
		
		$request = Request::instance();
	
		if(session("mid")){
			$this->assign('parenttitle',$request->get("parenttitle"));
		}else{
			$this->redirect('Index/login');
		}

		
	}
}
